package com.infra.micro.oss.domain.service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DownloadService {
    void downloadByBizId(Long bizId, HttpServletResponse response) throws Exception;

    void downloadByFileId(Long fileId, HttpServletResponse response) throws Exception;

    void downloadByFileId(Long fileId, String fileName, HttpServletResponse response) throws Exception;

    void downloadByBizIds(List<Long> bizIds, HttpServletResponse response) throws Exception;

    void downloadByFileIds(List<Long> fileIds, HttpServletResponse response) throws Exception;
}
